Flash MX 2004 ֵ֧HTMLǩ   
  
<a> ӱǩ
ԣhref: ӵַ
target: Ŀ괰 ȡֵΪ_blank,_parent,_self,_top

my_txt.htmlText="<a href='http://www.blueidea.com' target='_self'>ɫ</a>"

<b> ǩ

my_txt.htmlText="<b> Bold </b>"

<br> бǩ

my_txt.htmlText="Title of Articles <br>" 

<font> ǩ
ԣcolor:ɫʽ#RRGGBB
face:壬ǵб
size:Сλء

my_txt.htmlText="<font color='#ff0000' face='Arial' size='12'>This is a text</font>"

<i> бǩ
˵

my_txt.htmlText="<i> Italic </i>"

<li> бǩ

my_txt.htmlText="Sports:<li>Football</li> <li>Boxing</li><li>Swimming</li>"
ע⣬ıҪѡСС

<p> 
ԣalign:䷽ʽȡֵleft,right,center
class:Ӧһcssʽࡣ

my_txt.htmlText="<p align='right' class='title'>align right</p><p align='left' class='body'>align left</p>"
ע⣬ıҪѡССcsstitlebodyѴڡ

<span> ǩ
˵λڸñǩıӦcssʽֻڶcssЧ
ԣclass:Ӧһcssʽࡣ

my_txt.htmlText="<span class='body'>this is a text confined by css</span>
ע⣬cssbodyѴڡ

<u> »߱ǩ

my_txt.htmlText="<u> Underline </u>

ıǩ
<img> ͼǩ
˵ǩĹܲıвͼƬԲSWFMovieClip
ԣsrc: ҪصJPGSWFURLMCIDǱҪģѡ
ע⣺Flash֧progressiveʽJPG
id : ָǶJPGSWFMovieClipĵӰơ
width: ͼƬ/ȡ 
height: ͼƬ/߶ȡ
align: ䷽ʽȡֵleftrightĬΪleft
hspace: ıͼʱˮƽͼƬĿ϶
vspace: ıͼʱֱͼƬĿ϶

<textformat> ıʽǩ
˵ǩֱӦһЩTextFormatԵıС
ԣblcokIndent: Сλء
indent: Сλء
leading: ıм࣬λء
leftmargin: ı߾࣬λء
rightmargin: ıұ߾࣬λء
tabstops: 񻮷֣λء
ע⣺tabstopsֵһ飬ʾл
ıתַ\tλƶһƱλ

tabField="<b>Name\tSex\tAge\t</b><br>";
tabRecord1="Jinni\t20\tMale\t<br>";
tabRecord2="Sucy\t21\tFemale\t<br>";
txt="<textformat tabstops='[50,150,150]'>"+ tabField+tabRecord1+tabRecord2+"</textformat>"; 
 
